package demo1103.demo01;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/3 9:26
 */
public class TestLambda {
    public static void main(String[] args) {
        Runnable r =()->{
            System.out.println("lambda表达式");
        };
        Thread thread = new Thread(r);
        thread.start();
    }
}
